#ifndef EXTERNALDEPSDLG_H
#define EXTERNALDEPSDLG_H

#include "scrollingdialog.h"

class M_Code_Project;
class ProjectBuildTarget;

class ExternalDepsDlg : public wxScrollingDialog {
  public:
    ExternalDepsDlg( wxWindow* parent, M_Code_Project* project, ProjectBuildTarget* target );
    virtual ~ExternalDepsDlg();

    void EndModal( int retCode );
  protected:
    void FillAdditional();
    void FillExternal();
    void OnAddAdditional( wxCommandEvent& event );
    void OnEditAdditional( wxCommandEvent& event );
    void OnDelAdditional( wxCommandEvent& event );
    void OnAddExternal( wxCommandEvent& event );
    void OnEditExternal( wxCommandEvent& event );
    void OnDelExternal( wxCommandEvent& event );
    void OnUpdateUI( wxUpdateUIEvent& event );
    M_Code_Project* m_pProject;
    ProjectBuildTarget* m_pTarget;
  private:
    bool xml_File_lock;
    DECLARE_EVENT_TABLE()
};

#endif
